package com.hainatong.shiphelper.login.model;

import java.io.Serializable;

public class UserBean implements Serializable {

    /**
     * status : true
     * code : 310
     * message : 登陆成功
     * data : {"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI3NGQ0OGUxOS0zZTdjLTRhMDAtYWI4Mi0yZjNjNTE4N2QzNzAiLCJpYXQiOiIxNjE3MDc2MzYwIiwibmJmIjoiMTYxNzA3NjM2MCIsImV4cCI6IjE2MTc2ODExNjAiLCJpc3MiOiJ2b2wuY29yZS5vd25lciIsImF1ZCI6InZvbC5jb3JlIn0.WVdayyLIWX73iYFIhgRPNermvszy7yo8QkCxy1lb3o8","userName":"test2","img":"https://qhse.oss-cn-hangzhou.aliyuncs.com/Document/4d5ac4c2-3d5d-4991-882b-ba78bf21f861.jpg","company":"HaiXingNO1","company_id":"8d730ffb-f9ad-49ab-a2bb-d8c49595aa34","ship_id":"560d5ba5-5100-4151-8cb7-2dd820aea573","ship_name":"MT\u201cORESTINA\u201d"}
     */

    private boolean status;
    private String code;
    private String message;
    private DataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI3NGQ0OGUxOS0zZTdjLTRhMDAtYWI4Mi0yZjNjNTE4N2QzNzAiLCJpYXQiOiIxNjE3MDc2MzYwIiwibmJmIjoiMTYxNzA3NjM2MCIsImV4cCI6IjE2MTc2ODExNjAiLCJpc3MiOiJ2b2wuY29yZS5vd25lciIsImF1ZCI6InZvbC5jb3JlIn0.WVdayyLIWX73iYFIhgRPNermvszy7yo8QkCxy1lb3o8
         * userName : test2
         * img : https://qhse.oss-cn-hangzhou.aliyuncs.com/Document/4d5ac4c2-3d5d-4991-882b-ba78bf21f861.jpg
         * company : HaiXingNO1
         * company_id : 8d730ffb-f9ad-49ab-a2bb-d8c49595aa34
         * ship_id : 560d5ba5-5100-4151-8cb7-2dd820aea573
         * ship_name : MT“ORESTINA”
         */

        private String token;
        private String userName;
        private String img;
        private String company;
        private String company_id;
        private String ship_id;
        private String ship_name;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getCompany_id() {
            return company_id;
        }

        public void setCompany_id(String company_id) {
            this.company_id = company_id;
        }

        public String getShip_id() {
            return ship_id;
        }

        public void setShip_id(String ship_id) {
            this.ship_id = ship_id;
        }

        public String getShip_name() {
            return ship_name;
        }

        public void setShip_name(String ship_name) {
            this.ship_name = ship_name;
        }
    }
}
